{% extends 'base.html' %}
{% block content %}
        <div class="col-md-8 ">
        <div class="panel panel-primary" style="margin-top: 10px">
            <form style="margin-left: 10px" action="" method="post">
                {% csrf_token %}
                <div class="form-group" style="margin-top: 10px">
                    <label for="">二级菜单名称</label>
                    <input type="text" class="form-control" name="title" id="=title">
                </div>
                 <div class="form-group" style="margin-top: 10px">
                    <label for="">含正则的URL</label>
                    <input type="text" class="form-control" name="url" id="=url">
                </div>
                <div class="form-group" style="margin-top: 10px">
                    <label for="">URL别名</label>
                    <input type="text" class="form-control" name="alias" id="=alias">
                </div>
                <div>
                    <label for="">所属菜单</label>
                    <select class="form-group" >
                        <option value="" selected="selected">{{menu_obj.title }}</option>
                    </select>
                </div>
                <input type="submit" value="保存" class="btn btn-primary">
            </form>
        </div>
    </div>
{% endblock content %}